﻿<Window x:Class="WinAutomator.MainMainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:view="clr-namespace:WinAutomator"
        xmlns:avalonDock="http://schemas.xceed.com/wpf/xaml/avalondock"
        Title="MainMainWindow" Height="413" Width="645"
         DataContext="{Binding Main, Source={StaticResource Locator}}">
    
        <DockPanel>
            <ToolBarTray DockPanel.Dock="Top">
                <ToolBar Margin="5" Height="30">
                        <Button Content="Start" Command="{Binding TestCommandPassParamRC}" Width="80" />
                </ToolBar>
            </ToolBarTray>
        
            <avalonDock:DockingManager x:Name="dockingManager">
                <avalonDock:LayoutRoot>
                    <avalonDock:LayoutPanel Orientation="Horizontal">
                        <avalonDock:LayoutDocumentPaneGroup>
                            <avalonDock:LayoutDocumentPane>
                                <avalonDock:LayoutDocument Title="New">
                                    <view:DiagramEditor Height="auto" />
                                </avalonDock:LayoutDocument>
                            </avalonDock:LayoutDocumentPane>
                        </avalonDock:LayoutDocumentPaneGroup>
                        <avalonDock:LayoutAnchorablePaneGroup DockWidth="150" Orientation="Vertical">
                        </avalonDock:LayoutAnchorablePaneGroup>
                    </avalonDock:LayoutPanel>
                    <avalonDock:LayoutRoot.LeftSide>
                        <avalonDock:LayoutAnchorSide>
                            <avalonDock:LayoutAnchorGroup>
                                <avalonDock:LayoutAnchorable Title="Autohidden Content">
                                    <view:ToolBox />
                                </avalonDock:LayoutAnchorable>
                            </avalonDock:LayoutAnchorGroup>
                        </avalonDock:LayoutAnchorSide>
                    </avalonDock:LayoutRoot.LeftSide>
                </avalonDock:LayoutRoot>
            </avalonDock:DockingManager>
        </DockPanel>
    
</Window>
